package com.windfone.dao;

import java.util.List;

import com.windfone.model.Recommend;
import com.windfone.model.RecommendType;

public interface RecommendDao {
	public List<Recommend> getRecommendById(int keyValue);
	public List<RecommendType> listAllRecommendType();
	public int updateRecommendById(Recommend bean);
	public int addRecommend(Recommend bean);
	public int deleRecommend(Recommend bean);
	public List  getRecommendByRecommendTypeId(int recommendTypeId);
//	public List<Recommend> getRecommendByRecommendTypeId(int recommendTypeId);
	public List getRecordsByTableName(String tableName, String beginDate,String endDate, String beanName,String fileds);
	public List<RecommendType> getRecommendTypeById(int recommendTypeId);
}
